home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / MiniclipsTetris.swf / scripts / DefineButton2_256 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2005-08-04  |  270 b   |  15 lines

  1. on(press){
  2.    if(_parent.piece[10])
  3.    {
  4.       _parent.piece[10] = false;
  5.       _parent.piece[11] = false;
  6.       Check10.gotoAndStop(1);
  7.    }
  8.    else
  9.    {
  10.       _parent.piece[10] = true;
  11.       _parent.piece[11] = true;
  12.       Check10.gotoAndStop(2);
  13.    }
  14. }
  15.